projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af7ef3b
)
* xterm.c (handle_one_xevent): Call x_handle_dnd_message for
author
Jan Djärv
<jan.h.d@swipnet.se>
Tue, 3 Feb 2004 16:34:26 +0000
(16:34 +0000)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Tue, 3 Feb 2004 16:34:26 +0000
(16:34 +0000)
ClientMessages.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index f9287036cc566610be3ac138266582aacc1772f8..9197e07b72e02dc63fdffe5330c5e4d93b248abd 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-5934,7
+5934,25
@@
handle_one_xevent (dpyinfo, eventp, bufp_r, numcharsp, finish)
}
#endif /* USE_TOOLKIT_SCROLL_BARS */
else
- goto OTHER;
+ {
+ struct frame *f
+ = x_any_window_to_frame (dpyinfo, event.xclient.window);
+
+ if (f)
+ {
+ int ret = x_handle_dnd_message (f, &event.xclient,
+ dpyinfo, bufp);
+ if (ret > 0)
+ {
+ ++bufp, ++count, --numchars;
+ }
+
+ if (ret != 0)
+ *finish = X_EVENT_DROP;
+ }
+ else
+ goto OTHER;
+ }
}
break;